package a01oopextenddemo04;

public class Emplor {

    public String id;
    public String name;

    public Emplor() {
    }

    public Emplor(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void work(){
        System.out.println(id+"  "+name+"在工作");
    }


}

